This is a stack that shows one possible way of incorporating regions as buttons. By using an XCMD to handle the creation and deletion of regions, as well as testing for hits within those regions, we can have 'buttons' that are any shape we please.
For example, our button could look like this:
Or like this:
Or even like this (with a hole in the middle that is not part of the button):